package na.learn.ejb2;

import java.rmi.RemoteException;

import javax.ejb.EJBObject;

/**
 * 
 * @author manojkumar
 * 
 */
public interface ConsumerDetailsCMP extends EJBObject {

	public abstract void setConsumerId(Integer id) throws RemoteException;

	public abstract Integer getConsumerId() throws RemoteException;;

	public abstract String getConsumerName() throws RemoteException;;

	public abstract void setConsumerName(String name) throws RemoteException;;

	public abstract Integer getConsumerAge() throws RemoteException;;

	public abstract void setConsumerAge(Integer age) throws RemoteException;;

	public abstract String getConsumerContactNumber() throws RemoteException;;

	public abstract void setConsumerContactNumber(String contactNumber)
			throws RemoteException;;

}
